function setRem() {
  const baseSize = 16
  const BaseScale = baseSize / 1280
  const widthScale = window.innerWidth
  const rem = widthScale * BaseScale
  document.documentElement.style.fontSize = rem + 'px'
}
setRem()
window.onresize = () => {
  setRem()
}
